SerialPortList

Port-listing class which can be used to query the ports on a given machine which have been identified by the jSerialComm library.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun get(productId: Int, vendorId: Int): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine which match the provided vendor and product ID.

open override fun get(): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine.

Link copied to clipboard
open override fun getByProductId(productId: Int): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine which match the provided product ID.

Link copied to clipboard
open override fun getByVendor(vendorId: Int): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine which match the provided vendor ID.